<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Device SDK APIs: include/dev_sdk.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Device SDK APIs
   &#160;<span id="projectnumber">ver: 2.3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">dev_sdk.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="dev__sdk_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#ifndef _DEV_SDK_H_</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#define _DEV_SDK_H_</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="structdev__sdk__info.html">   11</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structdev__sdk__info.html">dev_sdk_info</a> {</div><div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="structdev__sdk__info.html#adac465801ce2cc6bae16c7c1e30665f7">   12</a></span>&#160;    <span class="keywordtype">char</span> *<a class="code" href="structdev__sdk__info.html#adac465801ce2cc6bae16c7c1e30665f7">serial_no</a>; </div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="structdev__sdk__info.html#adc30dfa2e07ef35583e846c68cceebbd">   13</a></span>&#160;    <span class="keywordtype">char</span> *<a class="code" href="structdev__sdk__info.html#adc30dfa2e07ef35583e846c68cceebbd">lisence_id</a>; </div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="structdev__sdk__info.html#ae6917b8b97b1b138e178b0d9a6bd0b2d">   14</a></span>&#160;    <span class="keywordtype">char</span> *<a class="code" href="structdev__sdk__info.html#ae6917b8b97b1b138e178b0d9a6bd0b2d">lisence_key</a>; </div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="structdev__sdk__info.html#a278315bd8cf185fef1c8a2fb4dd60222">   15</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structdev__sdk__info.html#a278315bd8cf185fef1c8a2fb4dd60222">p2p_factory_type</a>; </div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;};</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dev__sdk_8h.html#a66c141e71da6f949baa5677e87b23519">dev_sdk_init</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dev__sdk_8h.html#a88e426562d5e5cfc48ed3f1a3043fde6">dev_sdk_start_service</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dev__sdk_8h.html#a4910517d9a12dd5ad483b6ddf6395973">dev_sdk_exit</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dev__sdk_8h.html#ad625d95126478f55a2d402fe1b727c63">dev_sdk_set_volume</a>(<span class="keywordtype">int</span> volume);</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dev__sdk_8h.html#afda61066bdd757afc40f4a9bbb326670">dev_sdk_get_volume</a>(<span class="keywordtype">int</span> *volume);</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#endif //_DEV_SDK_H_</span></div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="ttc" id="structdev__sdk__info_html_adc30dfa2e07ef35583e846c68cceebbd"><div class="ttname"><a href="structdev__sdk__info.html#adc30dfa2e07ef35583e846c68cceebbd">dev_sdk_info::lisence_id</a></div><div class="ttdeci">char * lisence_id</div><div class="ttdef"><b>Definition:</b> dev_sdk.h:13</div></div>
<div class="ttc" id="dev__sdk_8h_html_afda61066bdd757afc40f4a9bbb326670"><div class="ttname"><a href="dev__sdk_8h.html#afda61066bdd757afc40f4a9bbb326670">dev_sdk_get_volume</a></div><div class="ttdeci">int dev_sdk_get_volume(int *volume)</div><div class="ttdoc">get device volume </div></div>
<div class="ttc" id="structdev__sdk__info_html_ae6917b8b97b1b138e178b0d9a6bd0b2d"><div class="ttname"><a href="structdev__sdk__info.html#ae6917b8b97b1b138e178b0d9a6bd0b2d">dev_sdk_info::lisence_key</a></div><div class="ttdeci">char * lisence_key</div><div class="ttdef"><b>Definition:</b> dev_sdk.h:14</div></div>
<div class="ttc" id="structdev__sdk__info_html_adac465801ce2cc6bae16c7c1e30665f7"><div class="ttname"><a href="structdev__sdk__info.html#adac465801ce2cc6bae16c7c1e30665f7">dev_sdk_info::serial_no</a></div><div class="ttdeci">char * serial_no</div><div class="ttdef"><b>Definition:</b> dev_sdk.h:12</div></div>
<div class="ttc" id="structdev__sdk__info_html"><div class="ttname"><a href="structdev__sdk__info.html">dev_sdk_info</a></div><div class="ttdef"><b>Definition:</b> dev_sdk.h:11</div></div>
<div class="ttc" id="dev__sdk_8h_html_a66c141e71da6f949baa5677e87b23519"><div class="ttname"><a href="dev__sdk_8h.html#a66c141e71da6f949baa5677e87b23519">dev_sdk_init</a></div><div class="ttdeci">int dev_sdk_init(void)</div><div class="ttdoc">init sdk resource </div></div>
<div class="ttc" id="dev__sdk_8h_html_a4910517d9a12dd5ad483b6ddf6395973"><div class="ttname"><a href="dev__sdk_8h.html#a4910517d9a12dd5ad483b6ddf6395973">dev_sdk_exit</a></div><div class="ttdeci">int dev_sdk_exit(void)</div><div class="ttdoc">exit sdk service and free sdk resource </div></div>
<div class="ttc" id="dev__sdk_8h_html_a88e426562d5e5cfc48ed3f1a3043fde6"><div class="ttname"><a href="dev__sdk_8h.html#a88e426562d5e5cfc48ed3f1a3043fde6">dev_sdk_start_service</a></div><div class="ttdeci">int dev_sdk_start_service(void)</div><div class="ttdoc">start sdk service </div></div>
<div class="ttc" id="structdev__sdk__info_html_a278315bd8cf185fef1c8a2fb4dd60222"><div class="ttname"><a href="structdev__sdk__info.html#a278315bd8cf185fef1c8a2fb4dd60222">dev_sdk_info::p2p_factory_type</a></div><div class="ttdeci">int p2p_factory_type</div><div class="ttdef"><b>Definition:</b> dev_sdk.h:15</div></div>
<div class="ttc" id="dev__sdk_8h_html_ad625d95126478f55a2d402fe1b727c63"><div class="ttname"><a href="dev__sdk_8h.html#ad625d95126478f55a2d402fe1b727c63">dev_sdk_set_volume</a></div><div class="ttdeci">int dev_sdk_set_volume(int volume)</div><div class="ttdoc">set device volume </div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
